package com.huazi.www.doctor.doctorc.entity;

public class MedicineEntity {
    private Integer id;//开药记录编号
    private Integer userid;//用户开药编号
    private String username;//用户姓名
    private String medicine;//药名
    private int medicineid;//药物id
    private Integer sum;//药品数量
    private String time;//开药时间
    private String doctorId;//医生姓名
    private int did;//医生id
    private String type;//用药方法

    public MedicineEntity(Integer id, Integer userid, String username, String medicine, Integer sum, String time, String doctorId, String type) {
        this.id = id;
        this.userid = userid;
        this.username = username;
        this.medicine = medicine;
        this.sum = sum;
        this.time = time;
        this.doctorId = doctorId;
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMedicine() {
        return medicine;
    }

    public void setMedicine(String medicine) {
        this.medicine = medicine;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public MedicineEntity() {
    }


    public int getMedicineid() {
        return medicineid;
    }

    public void setMedicineid(int medicineid) {
        this.medicineid = medicineid;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }
}
